package org.vy.dal.dao;

import java.util.List;

import org.vy.dal.QueryManager;

public class ViewVyMemberSubscriptionDAO {
	private static final String FIND_BY_PARAM = "SELECT * FROM <TABLE> WHERE <PARAM>";

	@SuppressWarnings("unchecked")
	public static List<ViewVyMemberSubscriptionDO> findByParam(String where)
			throws Exception {
		ViewVyMemberSubscriptionDO dto = new ViewVyMemberSubscriptionDO();
		return (List<ViewVyMemberSubscriptionDO>) QueryManager
				.executeListQuery(dto, FIND_BY_PARAM.replaceAll("<PARAM>", where));
	}
}
